import java.util.ArrayList;
import java.util.List;
// Department类
class Department {
    private List<Instructor> instructors = new ArrayList<>();
    private List<Subject1> subjects = new ArrayList<>();

    public void addInstructor(Instructor instructor) {
        instructors.add(instructor);
    }

    public void addSubject(Subject1 subject) {
        subjects.add(subject);
    }
    // 可根据需求添加其他属性和方法
}